package kwlee.webgooglemap.test;

import android.app.Activity;
import android.os.Bundle;
import android.webkit.*;
import android.widget.*;
import android.view.*;

public class WebGoogleMapServiceActivity extends Activity {
	WebView wv;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        requestWindowFeature(Window.FEATURE_NO_TITLE);
        setContentView(R.layout.main);
        
        wv = (WebView)findViewById(R.id.webview1);
        WebSettings ws = wv.getSettings();
        ws.setJavaScriptEnabled(true);
        ws.setJavaScriptCanOpenWindowsAutomatically(true);
        ws.setLightTouchEnabled(true);
        ws.setPluginsEnabled(true);
        ws.setCacheMode(ws.LOAD_NO_CACHE);
        
        wv.setVerticalScrollBarEnabled(false);
        wv.setHorizontalScrollBarEnabled(false);
        wv.setNetworkAvailable(true);
        String strUrl = "file:///android_asset/www/index.html";
        wv.loadUrl(strUrl);
    }
}